<html>
<head>
<title>Table of 2 through for loop</title>
</head>
<body>
<script type="text/javascript">
var i;
for(i=0; i<=12; i++)
{
document.write("2")
document.write("*")
document.write(i)
document.write("=")
document.write(i*2);
</script>
</body>
</html>